Type.registerNamespace("AjaxControlToolkit.HTMLEditor.ToolbarButton");AjaxControlToolkit.HTMLEditor.ToolbarButton.ColorButton=function(a){AjaxControlToolkit.HTMLEditor.ToolbarButton.ColorButton.initializeBase(this,[a])};AjaxControlToolkit.HTMLEditor.ToolbarButton.ColorButton.prototype={callMethod:function(){var a=this;if(!AjaxControlToolkit.HTMLEditor.ToolbarButton.ColorButton.callBaseMethod(a,"callMethod"))return false;a.openPopup(Function.createDelegate(a,a._onopened));return true},_onopened:function(a){a.setColor=Function.createDelegate(this,this.setColor)},setColor:function(){this.closePopup()}};AjaxControlToolkit.HTMLEditor.ToolbarButton.ColorButton.registerClass("AjaxControlToolkit.HTMLEditor.ToolbarButton.ColorButton",AjaxControlToolkit.HTMLEditor.ToolbarButton.DesignModePopupImageButton);